﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.PM
{
    /// <summary>
    /// 母羊妊检
    /// </summary>
    public class EwePregnancyCheckRecord : Aubuit
    {
        /// <summary>
        /// 母羊妊检Id
        /// </summary>
        [Key]
        public int EwePregnancyCheckRecordId { get; set; }
        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string Leader { get; set; }

        /// <summary>
        /// 妊娠检查的日期
        /// </summary>
        public DateTime PregnancyTestDate { get; set; }

        /// <summary>
        /// 羊只的耳号
        /// </summary>
        public int EarNo { get; set; }

        /// <summary>
        /// 妊娠检查结果（如：怀孕、不怀孕）
        /// </summary>
        public int PregnancyTestResult { get; set; }

        /// <summary>
        /// 妊娠检查方式（如：B超、触诊）
        /// </summary>
        public int PregnancyTestMethod { get; set; }

        /// <summary>
        /// 同胎数
        /// </summary>
        public int LitterCount { get; set; }

        /// <summary>
        /// 妊娠天数（从配种到当前天数）
        /// </summary>
        public int PregnancyDays { get; set; }

        /// <summary>
        /// 当前所在的栋舍
        /// </summary>
        public int CurrentBarn { get; set; }

        /// <summary>
        /// 当前所在的栏位
        /// </summary>
        public int CurrentPen { get; set; }

        /// <summary>
        /// 转入的栋舍
        /// </summary>
        public int TransferBarn { get; set; }

        /// <summary>
        /// 转入的栏位
        /// </summary>
        public int TransferPen { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public int Notes { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string DocumentNo { get; set; }

        /// <summary>
        /// 妊检的流水号
        /// </summary>
        public string SerialNo { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }=DateTime.Now;

    }
}
